﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PJ.Business;

namespace PJ.Presentation
{
    public interface IBusinessObjectModel : IViewModel
    {
        string GlobalId { get; set; }

        void SetValues (IBusinessObject obj, bool saveBefore);
        IBusinessObject GetValues ();

        void Persist();

        IBusinessObjectService Service { get; set; }
    }
}
